#include <stdio.h>

#define myprintf libc_printf

#define CSTUB(a) extern  void a (void); void a (void) { myprintf("NOT IMPLEMENTED %s\n",  # a ); }
#define CSTUBQ(a) extern  void a (void); void a (void) {  }
#define CSTUBH(a) extern  void a (void); void a (void) { myprintf("NOT IMPLEMENTED %s\n",  # a );  asm("sdbbp"); }



CSTUB(sigaction)
CSTUB(fork)
CSTUB(execl)
CSTUB(waitpid)


extern  int _mon_getc();

int  _mon_getc()
{
    return -1;
}

extern char* getenv(const char* name);

char* getenv(const char* name)
{
//    myprintf("getenv(%s) called\n", name);
    return 0;
}
extern void _mon_write(char ch );
void _mon_write(char ch )
{
}

extern int  getdirentries(int, char *, int, long *);

int getdirentries(int a, char * b, int c, long * d)
{
}

